package com.lxy.user.service.impl;

import com.lxy.common.JsonResult;
import com.lxy.user.service.LagouCodeServiceFeginClient;
import org.springframework.stereotype.Component;

/**
 * @author 123
 * @date 2020/6/28 16:20
 * @description
 */
@Component
public class LagouCodeServiceFeignClientFallback implements LagouCodeServiceFeginClient {

    @Override
    public JsonResult authCode(String email, String code) {
        return JsonResult.error("服务异常，降级处理");
    }

}
